<template>
  <div class="login">
    这是登录界面
  </div>
</template>
<script lang="ts" setup="props">
  import { reactive } from "vue";

  const state = reactive({
    color: "red",
  });
</script>
<style>
  .login {
    color: v-bind("state.color");
  }
</style>